#ifndef SWKNXLISTXML_H
#define SWKNXLISTXML_H
#include <QObject>
#include <QStringList>
#include "BaseXml.h"
#include "DataType/SWKNXDataStruct.h"
#include "DataType/ControlPointStruct.h"

class SWKNXListXml: public BaseXml<SWKNXListXml>
{
public:
    friend class BaseXml<SWKNXListXml>;
    bool parser();

     QMap<SWKNXDataStruct, QList<ControlPointStruct> > sceneMap() const;

    QList<ControlPointStruct> controlPointList(const SWKNXDataStruct &controlPoint);
    QList<ControlPointStruct> controlPointList(const QList<SWKNXDataStruct> &sourcePointList);

    QList<SWKNXDataStruct> knxDataList() const;

private:
    SWKNXListXml();
    bool clear();

    QList<SWKNXDataStruct> m_knxDataList;

    QMap<SWKNXDataStruct,QList<ControlPointStruct> > m_sceneMap;

};

#endif // SWKNXLISTXML_H
